package com.ruoyi.inventory.service.impl;

import com.ruoyi.inventory.domain.Library;
import com.ruoyi.inventory.mapper.LibraryMapper;
import com.ruoyi.inventory.service.LibraryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class LibraryServiceImpl implements LibraryService {
    @Autowired
    LibraryMapper libraryMapper;

    @Override
    public List<Library> selectLibraryList(Library library) {
        return libraryMapper.selectLibraryList(library);
    }

    @Override
    public List<Library> selectWarning(Library library) {
        return libraryMapper.selectWarning(library);
    }

    @Override
    public List<Library> selectOrder(Library library) {
        return libraryMapper.selectOrder(library);
    }
}
